package com.jdk.demo.io.验证backlog;

import java.net.Socket;

public class Client {

	public static void main(String[] args) throws Exception {
		Socket socket1 = new Socket("localhost", 8888);
		Socket socket2 = new Socket("localhost", 8888);
		Socket socket3 = new Socket("localhost", 8888);
		// 从第4个开始请求出现异常：Connection refused: connect
		Socket socket4 = new Socket("localhost", 8888);
		Socket socket5 = new Socket("localhost", 8888);
	}

}
